package cn.mesmile.code.vo;

import cn.mesmile.code.entity.Student;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author zb
 * @date 2021/5/14 11:06
 * @Description
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class StudentVO extends Student {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "性别", example = "男", notes = "用户性别", required = true)
    private String sexName;

    @JsonIgnore
    private Integer sex;

}
